//
//  CommentModel.m
//  BookRank
//
//  Created by wststar on 14-3-2.
//  Copyright (c) 2014年 wststar. All rights reserved.
//

#import "CommentModel.h"

@implementation CommentModel

-(void)setAttributes:(NSDictionary *)dataDic{
    [super setAttributes:dataDic];
    
    NSDictionary * userDic = [dataDic objectForKey:@"user"];
    NSDictionary * statusDic = [dataDic objectForKey:@"status"];
    
    self.user = [[[UserModel alloc]initWithDataDic:userDic]autorelease];
    self.weibo = [[[WeiboModel alloc]initWithDataDic:statusDic]autorelease];
}



@end
